package com.spider.date;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * 存放数据类
 * 
 * @author liuhao
 * 
 */
public class DBCenter {
	private static Map<String, List<String>> url_map;    
	private static List<String> url_list;  //抓取url的排队序列

	public static Map<String, List<String>> getUrl_map() {
		if (url_map == null) {
			url_map = new HashMap<String, List<String>>();
			return url_map;
		}
		return url_map;
	}
	
	
	
	/**
	 * 获得抓取url的排队序列
	 * @return
	 */
	public static List<String> getUrl_list(){
		if(url_list==null){
			url_list = new ArrayList<String>();
			return url_list;
		}
		return url_list;
	}
}
